<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DistributorBank extends BaseModel
{
	
	protected $fillable = [
		'distributor_id',
		'name',
		'id_card_no',
		'id_card_start_date',
		'id_card_expire_date',
		'mobile',
		'email',
		'id_card_just_url',
		'id_card_back_url',
		'bank_card_just_url',
		'bank',
		'bank_code',
		'bank_name',
		'bank_no',
		'status'
	];
	
	// 关联分销员表
    public function distributor()
    {
    	return $this->belongsTo(Distributor::class);
    }
}
